package com.niiwoo.civet.scheduler;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created by zhangwanli on 2017/11/20.
 */
@SpringBootApplication
@EnableScheduling
@ImportResource("classpath:scheduler-consumer.xml")
public class SchedulerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SchedulerApplication.class, args);
        com.alibaba.dubbo.container.Main.main(args);
    }

}
